package com.drama.api.sys.video.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@ApiModel(description = "接收参数")
@Data
@EqualsAndHashCode(callSuper = false)
public class VideoTaskVO implements Serializable {
    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "ID")
    private String id;
    @ApiModelProperty(value = "任务状态 1 进行中 2 成功 3 失败")
    private Integer taskState;
    @ApiModelProperty(value = "视频ID")
    private String videoId;
    @ApiModelProperty(value = "视频名称")
    private String videoName;
    @ApiModelProperty(value = "任务提交时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
}
